import { renderCandidateRecordOperate } from '@/pages/Recruitment/renderUtil';

const Candidate = ({ record = {}, isPrincipal, isLauncher, onRefresh }) =>
    renderCandidateRecordOperate(
        { ...record, candidateStatus: record.status, recruitTalentMatcherId: record.resumeId, id: record.candidateId },
        onRefresh,
        isPrincipal,
        isLauncher,
        true
    );

export default Candidate;
